<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.fc.util.*" %>
<%@ page import="com.fc.model.Coach" %>
<%@ page import = "com.fc.control.DateControl"%>
<%@ page import="com.fc.control.CoachControl" %>
<!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>navigation.html</title>
    <script type="text/javascript" src="../../../js/jquery.js"></script>
    <script type="text/javascript">
    	$(document).ready(function(){
    		//提前隐藏的详细项目
    		$('#user_detail').hide();
    		$('#project_detail').hide();
    		$('#data_detail').hide();
    		
    		//模拟收缩与展开效果
    		$('#user_manage').click(function(){
    			$('#user_detail').slideToggle();
    		})
    		$('#project_manage').click(function(){
    			$('#project_detail').slideToggle();
    		})
    		$('#data_manage').click(function(){
    			$('#data_detail').slideToggle();
    		})
    	})
    </script>
<link href="../../../css/navigation.css" rel="stylesheet" type="text/css"/>
  </head>
  <body>
  <%
	request.setCharacterEncoding("UTF-8");
	
	int pages = ParamUtil.getInt(request, "pages", 0);
	int id=ParamUtil.getInt(request,"id",0);
	int rowsPerPage = ParamUtil.getInt(request, "pageSize", 10);
	CoachControl cc = new CoachControl();
	Coach coach = new Coach();


	List<Coach> list = new ArrayList<Coach>();
	list = (List) cc.getCoach(pages,rowsPerPage); 
	      
	for (int i = 0; i < list.size(); i++) {
		coach = list.get(i);
		
%>  
	<td align="center"><a target="right" href="../coach.jsp"><%=coach.getName()%></a></td><br/>
	<%
		}
	%>   	
	 	
  	
  </body>
</html>
